﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CMP.ERP.Model;
using CMP.ERP.DAL;
using System.Data;

namespace CMP.ERP.BLL
{
    public class PandiandanBLL
    {
        PandiandanDAL dal = new PandiandanDAL();
        /// <summary>
        /// 显示盘点单
        /// </summary>
        /// <returns></returns>
        public DataTable GetPandianList()
        {
            return dal.GetPandianList();
        }
        /// <summary>
        /// 添加盘点单
        /// </summary>
        /// <param name="p"></param>
        /// <returns></returns>
        public int AddPandian(PandianList p)
        {
            return dal.AddPandian(p);
        }
        public int Del(int id)
        {

            return dal.Del(id);
        }
    }
}
